<?php

use Doctrine\Common\Annotations\AnnotationRegistry;
use Composer\Autoload\ClassLoader;

/**
 * @var $loader ClassLoader
 */
$loader = require __DIR__ . '/../vendor/autoload.php';

$loader->add('LHWApp_', __DIR__ . '/../src/LHWApp/lib');
$loader->add('DoctrineExtensions', __DIR__ . '/../vendor/beberlei/DoctrineExtensions/lib');
$loader->add('CrEOF', __DIR__ . '/../vendor/creof/doctrine2-spatial/lib');

AnnotationRegistry::registerLoader(array($loader, 'loadClass'));

return $loader;
